{include file="Index/header" /}
<body>
<div class="formbody">
	<div class="formtitle"><span>广告位管理</span></div>
	<form action="Advert/index" method="post" id="pic_form"> 
			<table class="imgtable" >
				<thead>
					<tr>
						<th width="100px;">缩略图</th>
						<th>类型</th>
						<th width="200px;">标题</th>
						<th>跳转地址</th> 
						 
						<th>操作</th>
					</tr>
				</thead>
				<tbody id="t_body">
				 	{volist name="listArr" id="vo" key="k" } 
					<tr>
						<td>
							<img src="__UPLOAD__{$vo.path}" width="150"   />
							
						</td>
						
						<td>{$catagoryArr[$vo[code]]}</td>
						<td>{$vo.title}</td>
						<td>{$vo.url}</td> 
						<td>
							<a class="tablelink" href="{:url('Advert/add',['aid'=>$vo['id']])}" onclick="deleteItem(this);">编辑</a>
							<a class="tablelink" href="{:url('Advert/delete',['aid'=>$vo['id']])}" >删除</a>
						</td>
					</tr>
				 	{/volist}
				</tbody>
			</table>
		 
	 
	</form>
</div>


{include file="Index/footer" /}